package xyz.renyumeng.xkm.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import xyz.renyumeng.xkm.model.user.UserInfo;
import xyz.renyumeng.xkm.result.Result;

/**
 * @author renyumeng
 * @date Created in 16:27 2023/6/29
 */
public interface UserInfoService extends IService<UserInfo> {
    Result<UserInfo> getUserInfoByIdWithAddressInfo(Long id);

    Result<Object> addUserById(UserInfo userInfo);

    Result<Object> deleteUserById(Long id);

    UserInfo innerGetUserInfoByIdWithAddressInfo(Long id);
}
